package service;

import java.util.List;

import Dao.RecordDao;
import Dao.RecordDaoImpl;
import pojo.Record;

public class RecordManagerImpl implements RecordManager {

	public int addRecord(Record r) {
		RecordDao recordDao = new RecordDaoImpl();
		int m = recordDao.addRecord(r);
		return m;
	}

	public List<Record> loadRecordsByuuid(String uuid) {
		RecordDao recordDao = new RecordDaoImpl();
		List<Record> rl= recordDao.loadRecordsByuuid(uuid); 
		return rl;
	}

}
